{% extends "base.html" %}
{% block title %}Index{% endblock %}

{% block content %}
<h1>HardCoded Store</h1>
<a href="/item/add">Post New Item</a>
<h2>Items Recently Added</h2>
<ul>
  {% for i in items -%}
  <li>
    <a href="/item/{{ i.key().id()|e }}">
      {{ i.title | e }}</a>
    (<a href="/user/{{ i.seller.key().id()|e }}">{{ i.seller.name | escape}}</a>)
  </li>
  {%- endfor %}
</ul>
{% endblock %}
